package com.redsoil.house.ui.remit.contract;

import com.redsoil.house.model.bean.ReceiptListVO;
import com.redsoil.house.model.bean.ReceiptTotalVO;
import com.weidingqiang.rxfiflibrary2.base.BasePresenter;
import com.weidingqiang.rxfiflibrary2.base.BaseView;

/**
 * 作者：weidingqiang on 2017/9/7 15:36
 * 邮箱：dqwei@iflytek.com
 */

public interface RemitContract {

    interface View extends BaseView {

        void responeError(String errorMsg);

        void postReceiptListSuccess(ReceiptListVO receiptListVO);

        void postReceiptTotalSuccess(ReceiptTotalVO receiptTotalVO);

        void postComplete();
    }

    interface Presenter extends BasePresenter<View> {
        void postReceipt(String year);
    }
}
